<template>
    <link rel="stylesheet" href="/layui/css/layui.css">
    <div class="box">
        <fieldset class="layui-elem-field">
            <legend>版本信息</legend>
            <div class="layui-field-box">
                <p>名称：{{data.name}}</p>
                <p>版本号：{{data.v}}</p>
                <p>作者：{{data.author}}</p>
                <p>Layui：{{data.layui_v}}</p>
            </div>
        </fieldset>
    </div>
</template>
<script>
    let data = {
        name: "Bang Admin",
        v: "v0.0.1",
        author: "无厘头",
        layui_v: layui.v
    }
</script>
<style>
    .box {
        padding: 10px;
        box-sizing: border-box;
    }
</style>